import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
// element 组件按需引入--同时导入element的样式
import 'element-ui/lib/theme-chalk/index.css'
import element from './element/index'
// import { from } from 'core-js/core/array'
// 挂载Vue
Vue.use(element)
Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')